﻿using System;
using System.Collections.Generic;

using System.Text;
using System.Data;

namespace Efficient.Excel
{
    
    internal interface IDataReaderValueGetter
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="reader"></param>
        /// <param name="name"></param>
        /// <returns></returns>
        object GetValue(IDataReader reader, string name);
        /// <summary>
        /// 
        /// </summary>
        /// <param name="reader"></param>
        /// <param name="index"></param>
        /// <returns></returns>
        object GetValue(IDataReader reader, int index);
    }
}
